Learn R Programming

rtkpp (version 0.8.5)

[,ClusterAlgo-method: Extract parts of a rtkpp S4 class

Description

Extract parts of a rtkpp S4 class

Usage

## S3 method for class 'ClusterAlgo':
[(x, i, j, drop)

## S3 method for class 'ClusterAlgo': [(x, i, j) <- value

## S3 method for class 'ClusterCategoricalComponent': [(x, i, j, drop)

## S3 method for class 'ClusterDiagGaussianComponent': [(x, i, j, drop)

## S3 method for class 'ClusterGammaComponent': [(x, i, j, drop)

## S3 method for class 'ClusterInit': [(x, i, j, drop)

## S3 method for class 'ClusterInit': [(x, i, j) <- value

## S3 method for class 'ClusterPoissonComponent': [(x, i, j, drop)

## S3 method for class 'ClusterStrategy': [(x, i, j, drop)

## S3 method for class 'ClusterStrategy': [(x, i, j) <- value

Arguments

x
object from which to extract element(s) or in which to replace element(s).
i
the name of the element we want to extract or replace.
j
if the element designing by i is complex, j specifying elements to extract or replace.
drop
For matrices and arrays. If TRUE the result is coerced to the lowest possible dimension (see the examples). This only works for extracting elements, not for the replacement. See drop for further details.
value
typically an array-like R object of a similar class as the element of x we want to replace.